<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Configuring the Library</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="default.css" type="text/css" />

<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00066.html');" onmousedown="onBodyMouseDown();">

<!-- Begin Popups -->

<!-- End Popups -->

<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00071.html" target="topic">Memory Driver Library Help</a> &gt; <a href="00066.html" target="topic">Configuring the Library</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00069.html" target="topic">Previous</a> | <a href="00071.html" target="topic">Up</a> | <a href="00065.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV Memory Configuring the Library Topic Title: Configuring the Library)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
Configuring the Library</div>
</div>
</div>

<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="4465736372697074696F6E"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
<span style="color: #000000">The Memory driver library should be configured through the MHC. The following figures show the MHC configuration window for the Memory driver and brief description.</span>&nbsp;</p>
<p class="Element10" style="text-align: center;">
<img src="drv_memory_async_fs_mhc_config.png" border="0" alt="" title="">&nbsp;</p>
<p class="Element10" style="text-align: center;">
<strong>Asynchronous Mode with RTOS and File-System</strong></p><p class="Element10">
&nbsp;</p>
<p class="Element10" style="text-align: center;">
<img src="drv_memory_sync_mhc_config.png" border="0" alt="" title="">&nbsp;</p>
<p class="Element10" style="text-align: center;">
<strong>Synchronous Mode with RTOS and without File System</strong></p><p class="Element10">
&nbsp;</p>
<div class="Element15">
Common User Configuration for all Instances</div>

<ul class="Element630">
<li class="Element600"><span style="color: #000000"><strong>Driver Mode:</strong></span>
<ul class="Element631">
<li class="Element601"><span style="color: #000000">Allows User to select the mode of driver(Asynchronous or Synchronous). This setting is common for all the instances.</span></li>
</ul></li>
</ul><p class="Element10">
&nbsp;</p>
<div class="Element15">
Instance Specific User Configurations</div>

<ul class="Element630">
<li class="Element600"><span style="color: #000000"><strong>Number Of Clients:</strong></span>
<ul class="Element631">
<li class="Element601"><span style="color: #000000">Specifies number of clients to access the specific instance of the driver</span></li>
</ul></li>
<li class="Element600"><span style="color: #000000"><strong>Buffer Queue Size:</strong></span>
<ul class="Element631">
<li class="Element601"><span style="color: #000000">Specifies maximum number of requests to be buffered in queue</span></li>
<li class="Element601"><span style="color: #000000">When Connected to File system this value is set to 1 and non modifiable</span></li>
<li class="Element601"><span style="color: #000000">This Configuration is displayed only in Asynchronous mode</span></li>
</ul></li>
<li class="Element600"><span style="color: #000000"><strong>Memory Device Type:</strong></span>
<ul class="Element631">
<li class="Element601"><span style="color: #000000">Specifies the type of the device connected when the File system is connected to this instance</span></li>
</ul></li>
<li class="Element600"><span style="color: #000000"><strong>Memory Device Used:</strong></span>
<ul class="Element631">
<li class="Element601"> Specifies the Media device connected</li>
</ul></li>
<li class="Element600"><strong>Memory Device Status Polling Rate Microseconds:</strong>
<ul class="Element631">
<li class="Element601">Specifies the interval to poll for the transfer status</li>
<li class="Element601">Option is displayed only in synchronous mode and when Memory device used does not support interrupt mode</li>
</ul></li>
<li class="Element600"><strong>RTOS Settings:</strong>
<ul class="Element631">
<li class="Element601"><span style="color: #000000">This configuration is displayed only in asynchronous mode</span></li>
<li class="Element601"><strong>Stack Size:</strong>
<ul class="Element632">
<li class="Element602">Specifies the number of bytes to be allocated on the stack</li>
</ul></li>
<li class="Element601"><strong>Task Priority:</strong>
<ul class="Element632">
<li class="Element602">Specifies priority for the Memory driver task thread</li>
</ul></li>
<li class="Element601"><strong>Task Delay:</strong>
<ul class="Element632">
<li class="Element602">Specifies delay to sleep for the Memory task thread after every call.</li>
</ul></li>
</ul></li>
</ul></div>
</div>
</div>
<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element95">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00071.html" target="topic">Memory Driver Library Help</a> &gt; <a href="00066.html" target="topic">Configuring the Library</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00069.html" target="topic">Previous</a> | <a href="00071.html" target="topic">Up</a> | <a href="00065.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV Memory Configuring the Library Topic Title: Configuring the Library)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>

<!-- End Page Footer -->
</div>
</div>

<!-- End Client Area -->
</body></html>